<?php

	require( "functions.php" );
	require( "config.php" );

	$db = mysql_connect( DB_HOST, DB_USER, DB_PASS );
	if ( !$db ) dieError( "Failed to connect to database!" );
	if ( !mysql_select_db( DB_NAME, $db ) ) dieError( "Failed to select database!" );

?>
